package tedu.week04.day02_thread.lesson1;

/**
 * <pre>
 *      线程类的测试类.
 * </pre>
 *
 * @author : resty
 * @date : 2019年07月08日    17时
 **/
public class Demo {
    public static void main(String args[]){



        /******CurrentThread******/
//        CurrentThread ct = new CurrentThread();
//        ct.start();
//        ct.run();



        /******MyThread1******/
        /*MyThread1 mt1 = new MyThread1("mt==========");
        MyThread1 mt2 = new MyThread1("mt");
        mt1.setName("test");
        mt2.setName("test");
        mt1.start();
        mt2.start();
        System.out.println(mt1.getName());
        System.out.println(mt2.getName());*/
    }
}
